import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../services/http-client.service';
@Injectable()
export class StepbarService {

  constructor(public httpClient: HttpClientService) { }
  // 获取状态树
  list(getBody) {
    return this.httpClient.get('/pms/v1/oneOnOneFundInfo/oneOnOneInfoTree/' + getBody.nFundNo);
  }

  // 修改状态树
  alterTree(putBody) {
    return this.httpClient.put('/pms/v1/oneOnOneFundInfo/oneOnOneStatus', putBody)
  }
  // 获取附件树
  getFileTree(getBody) {
    return this.httpClient.get('/pms/v1/common/fundFile/attachTree', getBody);
  }
  	// 查询单个产品基础信息
	otoGetSingleProduct(nFundNo) {
		return this.httpClient.get('/pms/v1/oneOnOneFundInfo/basicInfo/' + nFundNo);
	}

}
